package datastructure.linkedlist;

public class DLLNode {
	Object data;
	DLLNode prev, next;
	DLLNode(){}
	DLLNode(Object obj){
		data = obj;
	}
	DLLNode(Object obj, DLLNode prev){
		data = obj;
		this.prev = prev;
	}
	DLLNode(Object obj, DLLNode prevLink, DLLNode nextLink){
		data = obj;
		this.prev = prevLink;
		this.next = nextLink;
	}
	
	public String toString(){
		return data.toString();
	}
	
}
